package lucene.document
{
	public class Field
	{
		public var name:String;
		public var value:String;
		public var isTokenized:Boolean;
		public var isIndexed:Boolean;
		public var isStored:Boolean;
		public var isBinary:Boolean;
		
		public var termVector:Boolean;
		
		public function Field(fieldName:String, fieldValue:String, fieldIsStored:Boolean, fieldIsTokenized:Boolean, fieldIsIndexed:Boolean, fieldIsBinary:Boolean)
		{
			this.name = fieldName;
			this.value = fieldValue;
			this.isStored = fieldIsStored;
			this.isTokenized = fieldIsTokenized;
			this.isIndexed = fieldIsIndexed;
			this.isBinary = fieldIsBinary;
		}

	}
}